package com.dingwen.treasure.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 　ActivityStatusEnum
 * 　@author dingwen
 * 　@date 2022/5/14
 */
@Getter
@AllArgsConstructor
public enum ActivityStatusEnum implements BaseEnum<Integer> {


    /**
     * 编辑
     */
    EDITING(10, "编辑中"),
    /**
     * 通过
     */
    PASSING(1, "通过中"),
    /**
     * 拒绝
     */
    REJECTING(2, "拒绝中"),
    /**
     * 审核
     */
    REVIEWING(3, "审核中"),
    /**
     * 开启
     */
    OPENING(4, "开启中"),
    /**
     * 关闭
     */
    CLOSING(5, "关闭中");

    /**
     * 状态
     */
    private final Integer code;
    /**
     * 描述
     */
    private final String description;


    /**
     * 获取枚举类描述
     *
     * @return {@link String}
     */
    @Override
    public String getEnumDescription() {
        return "活动状态";
    }
}
